<template>
  <div>{{ title }}</div>
</template>

<script lang="ts" setup>
import { shallowRef } from "vue"

const title = shallowRef('我是Ref组件')

const show = () => {

}

const hide = () => {

}

defineExpose({
  title,
  show,
  hide
})
</script>